package dp

type BookName string

type BookSource struct {
	BookName BookName
}

type BookCatalog struct {
	CatalogUrl string
}

type BookChapter struct {
	BookSource
	Index      int
	Title      string
	ChapterUrl string
}

func NewBookChapter(index int, title string, chapterUrl string) BookChapter {
	return BookChapter{
		Index:      index,
		Title:      title,
		ChapterUrl: chapterUrl,
	}
}

type BookPage struct {
	BookSource
	PageUrl     string
	PageHtml    string
	HasNextPage bool
}
